<div class="row">
	<div class="am-u-sm-12" style="padding: 20px;">
		<form class="am-form-inline tpl-form-border-form">
			<div class="widget am-u-sm-12">
				
				<div class="am-u-sm-12 am-form-group">
					<table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black">
						<thead>
							<tr>
								<th>名称</th>
								<th>区域</th>
								<th>代号</th>
							</tr>
						</thead>
						<tbody>
							{foreach $tree as $key => $item}
							<tr class="gradeX">
								<td>{$item.name}</td>
								<td>{$item.area_id}</td>
								<td>
									<div class="tpl-table-black-operation">
										<a href="{:url('edit',['id'=>$item.id])}">
											<i class="am-icon-pencil"></i> 编辑
										</a>
										<a href="{:url('edit',['id'=>$item.id])}">
											<i class="am-icon-pencil"></i> 分配权限
										</a>
									</div>
								</td>
							</tr>
							{/foreach}
						</tbody>
					</table>
				</div>
				<div class="am-u-sm-12">
					<a href="{:url('add')}" class="am-btn am-btn-primary am-radius" style="margin-top: -2px;">添加</a>
				</div>
			</div>
		</form>
	</div>
</div>